package com.itheima.Jiuye01;

public abstract class Electrical {
    private String brand;
    private String size;
    private String color;
    private int  price;

    public Electrical(String brand, String size, String color, int price) {
        this.brand = brand;
        this.size = size;
        this.color = color;
        this.price = price;
    }

    public Electrical() {
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
    public abstract void xingWei();
}
